package testclasses;

public class ClassB {
	
	private ClassB test;
	private String str;
	private String constr;

	public ClassB(String constr) {
		this.constr = constr;
	}
	
	public void setStr(String str) {
		this.str = str;
	}
	
	public void setTest(ClassB test) {
		this.test = test;
	}
	
	public ClassB getB() {
		return test;
	}
	
	public String getStr() {
		return str;
	}
	
	@Override
	public String toString() {		
		return constr;
	}
	
}
